package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_activity_suoyao_explore",desc = "锁妖塔/黄山 探索", dataUpload = true, eventName = "huangshan_draw", autoSave = true, uploadCk = true)
public class LogSuoYaoExplore extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", dataAttribute = "activityid", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "层数", dataAttribute = "huangshan_floor")
    private int floor;
    @FieldTypeAnnotation(desc = "消耗", dataAttribute = "huangshan_use")
    private String cost = "";
    @FieldTypeAnnotation(desc = "奖励", dataAttribute = "huangshan_get")
    private String reward = "";
    @FieldTypeAnnotation(desc = "积分码", dataAttribute = "huangshan_getscore")
    private int getScore;
    @FieldTypeAnnotation(desc = "是否大奖", dataAttribute = "huangshan_isbig")
    private boolean isBig;

    public LogSuoYaoExplore(int activityId, long userId, int floor, String cost, String reward, int getScore, boolean isBig) {
        this.activityId = activityId;
        this.userId = userId;
        this.floor = floor;
        this.cost = cost;
        this.reward = reward;
        this.getScore = getScore;
        this.isBig = isBig;
    }


    public long getUserId() {
        return userId;
    }

}
